import request from '@/utils/request'


/**审批列表 */
export function list(params) {
  return request({
    url: '/distribution/distributorApply/list',
    params
  })
}


/**审批 */
export function apply(data) {
  return request({
    url: '/distribution/distributorApply/apply',
    method: 'post',
    data
  })
}

/**修改待审批用户 */
export function edit(data) {
  return request({
    url: '/distribution/distributorApply/edit',
    method: 'put',
    data
  })
}

/**获取待审批用户详细信息 */
export function detail(id) {
  return request({
    url: `/distribution/distributorApply/${id}`,
  })
}



